package com.bl.cash;

import java.util.ArrayList;
import java.util.List;

import com.bean.Customer;
import com.bean.Order;
import com.bean.Product;

/**
 * @author ${user}
 */
public class DataContainer {
    private static List<Customer> customers = new ArrayList<Customer>();
    private static List<Product> products = new ArrayList<Product>();
    private static List<Order> orders = new ArrayList<Order>();


    public static List<Customer> getCustomers() {
        return customers;
    }


    public static List<Product> getProducts() {
        return products;
    }


    public static List<Order> getOrders() {
        return orders;
    }

    public static void clearCash(){
        customers.clear();
        products.clear();
        orders.clear();
    }
}
